package com.qf.zwy.office.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 课程信息
 * @author 子未语
 */
@ApiModel(description = "课程信息")
@Data
@TableName(value = "course")
public class Course {
    /**
     * 课程id
     */
    @TableId(value = "course_id", type = IdType.INPUT)
    @ApiModelProperty(value = "课程id")
    private Integer courseId;

    /**
     * 课程名
     */
    @TableField(value = "course_name")
    @ApiModelProperty(value = "课程名")
    private String courseName;

    /**
     * 课程类型
     */
    @TableField(value = "course_type")
    @ApiModelProperty(value = "课程类型")
    private Integer courseType;

    /**
     * 封面
     */
    @TableField(value = "front_cover")
    @ApiModelProperty(value = "封面")
    private String frontCover;

    /**
     * 分类
     */
    @TableField(value = "classification")
    @ApiModelProperty(value = "分类")
    private Integer classification;

    /**
     * 简介
     */
    @TableField(value = "briefIntroduction")
    @ApiModelProperty(value = "简介")
    private String briefintroduction;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 资料
     */
    @TableField(value = "`data`")
    @ApiModelProperty(value = "资料")
    private String data;

    /**
     * 发布时间
     */
    @TableField(value = "release_time")
    @ApiModelProperty(value = "发布时间")
    private Date releaseTime;

    /**
     * 最后记录时间
     */
    @TableField(value = "last_recorded_time")
    @ApiModelProperty(value = "最后记录时间")
    private Date lastRecordedTime;

    public static final String COL_COURSE_ID = "course_id";

    public static final String COL_COURSE_NAME = "course_name";

    public static final String COL_COURSE_TYPE = "course_type";

    public static final String COL_FRONT_COVER = "front_cover";

    public static final String COL_CLASSIFICATION = "classification";

    public static final String COL_BRIEFINTRODUCTION = "briefIntroduction";

    public static final String COL_REMARK = "remark";

    public static final String COL_DATA = "data";

    public static final String COL_RELEASE_TIME = "release_time";

    public static final String COL_LAST_RECORDED_TIME = "last_recorded_time";
}